-
Notifications
You must be signed in to change notification settings - Fork 26
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: top bar not centered when on-premises backend is visible [WPB-9383] 🍒 #3029
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## develop #3029 +/- ##
===========================================
+ Coverage 44.25% 44.30% +0.04%
===========================================
Files 448 448
Lines 14519 14517 -2
Branches 2495 2493 -2
===========================================
+ Hits 6426 6432 +6
+ Misses 7391 7382 -9
- Partials 702 703 +1 see 2 files with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
Test Results930 tests 930 ✅ 8m 52s ⏱️ Results for commit 8f0e662. ♻️ This comment has been updated with latest results. |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4933 succeeded. The build produced the following APK's: |
Quality Gate passedIssues Measures |
APKs built during tests are available here. Scroll down to Artifacts! |
Build 4945 succeeded. The build produced the following APK's: |
This PR was automatically cherry-picked based on the following PR:
Original PR description:
PR Submission Checklist for internal contributors
The PR Title
SQPIT-764
The PR Description
What's new in this PR?
Issues
Top bar title and subtitle are not centered when there's an on-premises backend info visible.
Causes (Optional)
For
CenterAlignedTopAppBar
, Android calculates the position of title's composable according to its width, which means that this composable shouldn't havefillMaxWidth
orfillMaxSize
set, otherwise it will take the entire space and won't center it properly because it won't be possible.Solutions
Remove
fillMaxWidth
fromServerTitle
- it's used on the top bar and this modifier is absolutely not needed there, it will work the same without it.Testing
How to Test
Open login screen and deep link into a custom backend.
Attachments (Optional)
PR Post Submission Checklist for internal contributors (Optional)
PR Post Merge Checklist for internal contributors
References
feat(conversation-list): Sort conversations by most emojis in the title #SQPIT-764
.